Release 10.1A: OpenEdge Development:
Programming Interfaces
Writing a temp-table definition to XML Schema
The following code example creates a dynamic temp-table and writes its definition to an XML Schema file.
Note that the
min-xmlschemamethod option (lMinSchema = NO) is set toNO, which means that Progress will use all the XML Schema extension attributes necessary to fully restore objects in the 4GL environment. For example, here is an example piece of the.xsdfile generated by this code:
Re-run this code with the
min-xmlschemamethod option set toYES(lMinSchema = YES), which means that Progress will use only use a small subset of its XML Schema extension attributes. The XML Schema will still identify temp-tables and prodatasets, and if necessary, it will providedatatypeandinitialattributes. For example, here is an piece of the.xsdfile generated by this code withmin-xmlschemaset toYES:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |